* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #1a1a1a 100%);
    background-attachment: fixed;
    color: #e0e0e0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(234, 179, 8, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.sidebar {
    width: 320px;
    background: rgba(12, 12, 16, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        10px 0 40px rgba(0, 0, 0, 0.4),
        inset -1px 0 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 20px;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(circle at 50% -20%, rgba(251, 191, 36, 0.15), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.sidebar.hidden {
    transform: translateX(-100%);
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

.sidebar-header {
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sidebar-logo {
    max-width: 230px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
    cursor: pointer;
}

.sidebar-logo:hover {
    transform: scale(1.05);
}

.sidebar-controls {
    display: flex;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.control-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

.control-btn:hover {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.control-btn.hide-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.status-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 24px;
}

.status-card {
    background: rgba(30, 30, 40, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.status-card:hover {
    background: rgba(40, 40, 50, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.status-card.money-card {
    grid-column: span 2;
    flex-direction: row;
    justify-content: space-between;
    padding: 14px 20px;
    background: linear-gradient(90deg, rgba(30, 30, 40, 0.6) 0%, rgba(20, 20, 25, 0.8) 100%);
}

.status-icon {
    font-size: 14px;
    color: #808080;
    margin-bottom: 2px;
}

.status-value {
    font-size: 16px;
    font-weight: 700;
    color: #e0e0e0;
    letter-spacing: 0.5px;
}

.status-value.highlight {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.status-label {
    font-size: 11px;
    color: #808080;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-section {
    padding: 0 20px;
    margin-bottom: 24px;
}

.section-header {
    font-size: 12px;
    font-weight: 700;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    padding-left: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.nav-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.nav-item i {
    font-size: 20px;
    color: #a0a0a0;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 10px;
    font-weight: 600;
    color: #808080;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.nav-item:hover i {
    color: #fbbf24;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

.nav-item:hover span {
    color: #e0e0e0;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);
    border: 2px solid #1a1a1a;
}

.quick-travel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.quick-travel-grid .travel-btn {
    aspect-ratio: 1;
    padding: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #c0c0c0;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.quick-travel-grid .travel-btn:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
    color: white;
    transform: translateY(-3px);
}

.quick-travel-grid .travel-btn i {
    font-size: 12px;
    color: #a0a0a0;
    transition: color 0.2s ease;
}

.quick-travel-grid .travel-btn:hover i {
    color: #fbbf24;
}

.quick-travel-grid .travel-btn span {
    font-size: 8px;
    color: #808080;
    transition: color 0.2s ease;
}

.quick-travel-grid .travel-btn:hover span {
    color: #e0e0e0;
}

.stats-container {
    padding: 0 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fbbf24;
}

.stat-bar-container {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #a0a0a0;
    font-weight: 600;
}

.stat-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    overflow: hidden;
}

.stat-fill {
    display: block;
    height: 100%;
    background: #f59e0b;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-footer-grid.sidebar-footer {
    grid-template-columns: 1fr 1fr;
}

.sidebar-version-row {
    grid-column: span 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-footer-grid .sidebar-version-row,
.sidebar-footer-grid .sidebar-socials {
    grid-column: span 2;
}

.sidebar-socials {
    grid-column: span 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-socials .social-link {
    width: 36px;
    height: 36px;
}

.footer-btn {
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #b0b0b0;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.help-modal-body {
    padding: 20px 24px 24px;
    overflow-y: auto;
}

.help-section {
    margin-bottom: 20px;
}

.help-section:last-child {
    margin-bottom: 0;
}

.help-section-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-text {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 8px;
}

.help-text:last-child {
    margin-bottom: 0;
}

.help-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin: 10px 0;
}

.help-table th,
.help-table td {
    padding: 6px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.help-table th {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.help-table td {
    color: rgba(255, 255, 255, 0.8);
}

.help-table tr:last-child td {
    border-bottom: none;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.modal-title i {
    font-size: 22px;
}

.modal-close {
    background: transparent;
    border: none;
    color: #b0b0b0;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fbbf24;
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

#allCluesCompletedModal .all-clues-completed-body {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}
#allCluesCompletedModal .all-clues-completed-body p {
    margin: 0 0 1rem 0;
}
#allCluesCompletedModal .all-clues-completed-body p:last-child {
    margin-bottom: 0;
}
#allCluesCompletedModal .all-clues-intro {
    font-size: 1.05em;
    margin-bottom: 0.75rem;
}
#allCluesCompletedModal .all-clues-sign-off {
    margin-top: 1.25rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
}
#allCluesCompletedModal .all-clues-signature {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 0.95em;
    color: rgba(251, 191, 36, 0.9);
}
#allCluesCompletedModal .all-clues-signature strong {
    color: #fbbf24;
    font-weight: 700;
}

#ntrMainStoryCompleteModal .all-clues-completed-body,
.modal-content-story-complete .all-clues-completed-body {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}
#ntrMainStoryCompleteModal .all-clues-completed-body p,
.modal-content-story-complete .all-clues-completed-body p {
    margin: 0 0 1rem 0;
}
#ntrMainStoryCompleteModal .all-clues-completed-body p:last-child,
.modal-content-story-complete .all-clues-completed-body p:last-child {
    margin-bottom: 0;
}
#ntrMainStoryCompleteModal .all-clues-intro,
.modal-content-story-complete .all-clues-intro {
    font-size: 1.05em;
    margin-bottom: 0.75rem;
}
#ntrMainStoryCompleteModal .all-clues-sign-off,
.modal-content-story-complete .all-clues-sign-off {
    margin-top: 1.25rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
}
#ntrMainStoryCompleteModal .all-clues-signature,
.modal-content-story-complete .all-clues-signature {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 0.95em;
    color: rgba(251, 191, 36, 0.9);
}
#ntrMainStoryCompleteModal .all-clues-signature strong,
.modal-content-story-complete .all-clues-signature strong {
    color: #fbbf24;
    font-weight: 700;
}

.modal-footer-with-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.modal-footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.modal-footer-socials .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #a0a0a0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
}
.modal-footer-socials .social-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.modal-footer-socials .social-link:hover {
    transform: translateY(-5px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.modal-footer-socials .social-link:hover img {
    filter: grayscale(0%);
}
.modal-footer-socials .social-link.patreon:hover {
    background: #f96854;
    border-color: #f96854;
}
.modal-footer-socials .social-link.subscribestar:hover {
    background: #000;
    border-color: #fff;
}
.modal-footer-socials .social-link.f95:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}
.modal-footer-socials .social-link.twitter:hover {
    background: #000;
    border-color: #fff;
}
.modal-footer-socials .social-link.discord:hover {
    background: #5865F2;
    border-color: #5865F2;
}

.girl-stat-card {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.girl-stat-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.1);
}

.girl-name {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: capitalize;
}

.girl-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}

.girl-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(64, 64, 64, 0.5);
}

.girl-stat-item:last-child {
    border-bottom: none;
}

.girl-stat-label {
    font-weight: 600;
    color: #b0b0b0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.girl-stat-label i {
    color: #fbbf24;
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.girl-stat-value {
    color: #fbbf24;
    font-weight: 700;
    font-size: 16px;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6));
}

.stats-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 10px;
    border-radius: 6px;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.02);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}

.stat-label {
    color: #d0d0d0;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-label i {
    color: #fbbf24;
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.stat-value {
    color: #fbbf24;
    font-weight: 700;
    font-size: 16px;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6));
    letter-spacing: 0.5px;
}

.quick-nav-section {
    display: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-btn {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #e5e7eb;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    transform: scaleY(0);
    transition: transform 0.3s;
    border-radius: 0 3px 3px 0;
}

.nav-btn:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.2);
}

.nav-btn:hover::before {
    transform: scaleY(1);
}


.actions-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #e5e7eb;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.action-btn:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.25);
}

.action-btn:active {
    transform: translateY(0);
}

.version-section {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 18px;
}

.version-text {
    font-size: 11px;
    color: #707070;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sidebar-toggle-arrow {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 100px;
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: none;
    border-radius: 0 14px 14px 0;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        4px 0 30px rgba(0, 0, 0, 0.3),
        inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.sidebar-toggle-arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(251, 191, 36, 0.6) 50%,
            transparent 100%);
}

.sidebar-toggle-arrow.visible {
    display: flex;
}

.sidebar-toggle-arrow:hover {
    background: rgba(30, 30, 40, 0.8);
    border-color: rgba(251, 191, 36, 0.5);
    transform: translateY(-50%) translateX(4px);
    box-shadow:
        6px 0 30px rgba(251, 191, 36, 0.3),
        inset -1px 0 0 rgba(255, 255, 255, 0.1);
}

.arrow-icon {
    font-size: 30px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    transition: transform 0.3s;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6));
}

.sidebar-toggle-arrow:hover .arrow-icon {
    transform: scale(1.15);
}

.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    background: transparent;
    position: relative;
    z-index: 1;
}

.sidebar.hidden~.main-container {
    margin-left: 0;
    width: 100%;
    align-items: center;
}

.sidebar.hidden~.main-container .game-content {
    margin: 0 auto;
    width: 100%;
}

.game-content {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.game-content h2 {
    color: #fbbf24;
    margin-bottom: 20px;
}

.game-content p {
    color: #c0c0c0;
    line-height: 1.6;
}

.character-creation {
    max-width: 800px;
    margin: 0 auto;
}

.creation-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.4));
}

.creation-step {
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

.name-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
}

.name-input:focus {
    outline: none;
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.name-input::placeholder {
    color: #808080;
}

.character-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease-in;
}

.character-image {
    max-width: 300px;
    max-height: 400px;
    width: auto;
    height: auto;
    border-radius: 16px;
    border: 3px solid rgba(251, 191, 36, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(251, 191, 36, 0.2);
    object-fit: contain;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.character-image:hover {
    border-color: rgba(251, 191, 36, 0.7);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(251, 191, 36, 0.3);
    transform: scale(1.02);
}

.trait-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.trait-btn {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e5e7eb;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.trait-btn i {
    font-size: 18px;
    color: #fbbf24;
}

.trait-btn:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.25);
}

.trait-btn.selected {
    background: rgba(251, 191, 36, 0.25);
    border-color: rgba(251, 191, 36, 0.8);
    color: #ffffff;
    box-shadow:
        0 6px 24px rgba(251, 191, 36, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.trait-btn.selected i {
    color: #ffffff;
}

.trait-feedback {
    text-align: center;
    padding: 15px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 10px;
    color: #fbbf24;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s;
}

.trait-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

.ntr-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ntr-btn {
    padding: 18px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e5e7eb;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    justify-content: center;
}

.ntr-btn i {
    font-size: 18px;
}

.ntr-btn[data-ntr="enable"] i {
    color: #fbbf24;
}

.ntr-btn[data-ntr="disable"] i {
    color: #808080;
}

.ntr-btn:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.25);
}

.ntr-btn.selected {
    background: rgba(251, 191, 36, 0.25);
    border-color: rgba(251, 191, 36, 0.8);
    color: #ffffff;
    box-shadow:
        0 6px 24px rgba(251, 191, 36, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ntr-btn.selected i {
    color: #ffffff;
}

.route-btn {
    flex-direction: column;
    padding: 24px 30px;
    min-width: 250px;
    text-align: center;
}

.route-btn[data-route="ntr"] i {
    color: #ff6b6b;
    font-size: 24px;
}

.route-btn[data-route="love"] i {
    color: #ff69b4;
    font-size: 24px;
}

.route-btn.selected[data-route="ntr"] {
    background: rgba(255, 107, 107, 0.25);
    border-color: rgba(255, 107, 107, 0.8);
    box-shadow: 0 6px 24px rgba(255, 107, 107, 0.4);
}

.route-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.route-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.route-desc {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    font-weight: 400;
}

.route-btn.disabled .route-desc {
    color: rgba(255, 165, 0, 0.8);
    font-style: italic;
}

.creation-actions {
    text-align: center;
    margin-top: 40px;
}

.confirm-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    border-radius: 12px;
    color: #000000;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

.confirm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
}

.confirm-btn:active {
    transform: translateY(-1px);
}

.story-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-message {
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease-in;
}

.author-message {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 25px;
    text-align: left;
}

.author-message p {
    color: #e5e7eb;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.stat-feedback-message {
    background: rgba(251, 191, 36, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.stat-feedback-message p {
    color: #fbbf24;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.corruption-message {
    background: rgba(239, 68, 68, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.corruption-message p {
    color: #fca5a5;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.corruption-milestone {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(239, 68, 68, 0.5);
    border-radius: 12px;
    padding: 18px 25px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow:
        0 0 20px rgba(239, 68, 68, 0.3),
        inset 0 0 20px rgba(239, 68, 68, 0.1);
    animation: glow 2s ease-in-out infinite;
}

.corruption-milestone p {
    color: #fca5a5;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-shadow:
        0 0 10px rgba(239, 68, 68, 0.8),
        0 0 20px rgba(239, 68, 68, 0.4);
}

.corruption-increase {
    background: rgba(251, 146, 60, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 146, 60, 0.4);
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.corruption-increase p {
    color: #fb923c;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px rgba(251, 146, 60, 0.5);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow:
            0 0 20px rgba(239, 68, 68, 0.3),
            inset 0 0 20px rgba(239, 68, 68, 0.1);
    }

    50% {
        box-shadow:
            0 0 30px rgba(239, 68, 68, 0.5),
            inset 0 0 30px rgba(239, 68, 68, 0.2);
    }
}

.love-message {
    background: rgba(236, 72, 153, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.love-message p {
    color: #f9a8d4;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.love-milestone {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(219, 39, 119, 0.2) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(236, 72, 153, 0.5);
    border-radius: 12px;
    padding: 18px 25px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow:
        0 0 20px rgba(236, 72, 153, 0.3),
        inset 0 0 20px rgba(236, 72, 153, 0.1);
    animation: glowLove 2s ease-in-out infinite;
}

.love-milestone p {
    color: #f9a8d4;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-shadow:
        0 0 10px rgba(236, 72, 153, 0.8),
        0 0 20px rgba(236, 72, 153, 0.4);
}

.love-increase {
    background: rgba(251, 146, 60, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 146, 60, 0.4);
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.love-increase p {
    color: #fb923c;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px rgba(251, 146, 60, 0.5);
}

.scene-unlock {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.2) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(34, 197, 94, 0.5);
    border-radius: 12px;
    padding: 18px 25px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow:
        0 0 20px rgba(34, 197, 94, 0.3),
        inset 0 0 20px rgba(34, 197, 94, 0.1);
    animation: glowUnlock 2s ease-in-out infinite;
}

.scene-unlock p {
    color: #86efac;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-shadow:
        0 0 10px rgba(34, 197, 94, 0.8),
        0 0 20px rgba(34, 197, 94, 0.4);
}

.item-unlock {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(168, 85, 247, 0.5);
    border-radius: 12px;
    padding: 18px 25px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow:
        0 0 20px rgba(168, 85, 247, 0.3),
        inset 0 0 20px rgba(168, 85, 247, 0.1);
    animation: glowItemUnlock 2s ease-in-out infinite;
}

.item-unlock p {
    color: #c4b5fd;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-shadow:
        0 0 10px rgba(168, 85, 247, 0.8),
        0 0 20px rgba(168, 85, 247, 0.4);
}

.shop-item.locked {
    opacity: 0.5;
    font-style: italic;
    color: #9ca3af;
}

@keyframes glowItemUnlock {

    0%,
    100% {
        box-shadow:
            0 0 20px rgba(168, 85, 247, 0.3),
            inset 0 0 20px rgba(168, 85, 247, 0.1);
    }

    50% {
        box-shadow:
            0 0 30px rgba(168, 85, 247, 0.5),
            inset 0 0 30px rgba(168, 85, 247, 0.2);
    }
}

@keyframes glowLove {

    0%,
    100% {
        box-shadow:
            0 0 20px rgba(236, 72, 153, 0.3),
            inset 0 0 20px rgba(236, 72, 153, 0.1);
    }

    50% {
        box-shadow:
            0 0 30px rgba(236, 72, 153, 0.5),
            inset 0 0 30px rgba(236, 72, 153, 0.2);
    }
}

@keyframes glowUnlock {

    0%,
    100% {
        box-shadow:
            0 0 20px rgba(34, 197, 94, 0.3),
            inset 0 0 20px rgba(34, 197, 94, 0.1);
    }

    50% {
        box-shadow:
            0 0 30px rgba(34, 197, 94, 0.5),
            inset 0 0 30px rgba(34, 197, 94, 0.2);
    }
}

.character-message {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.character-dialogue {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.character-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(251, 191, 36, 0.5);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.dialogue-content {
    flex: 1;
}

.character-name {
    color: #fbbf24;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.dialogue-text {
    color: #e5e7eb;
    font-size: 16px;
    line-height: 1.7;
}

.dialogue-action {
    color: #a78bfa;
    font-style: italic;
    font-size: 14px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.dialogue-emotion {
    font-style: italic;
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 500;
    text-shadow: 0 0 8px currentColor;
}

.dialogue-thought {
    color: #9ca3af;
    font-style: italic;
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 12px;
    border-left: 2px solid rgba(156, 163, 175, 0.3);
    opacity: 0.85;
}

.story-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    animation: fadeIn 0.5s ease-in;
}

.story-image,
.story-image video {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    border-radius: 16px;
    border: 3px solid rgba(251, 191, 36, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(251, 191, 36, 0.2);
    object-fit: contain;
    background: rgba(0, 0, 0, 0.3);
}

.story-choices {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
    animation: fadeIn 0.5s ease-in;
}

.story-choices.story-choices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.story-choices.story-choices-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 600px) {
    .story-choices.story-choices-grid:not(.story-choices-grid-2x2) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.choice-btn {
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    color: #e5e7eb;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.choice-btn .choice-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.choice-btn:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.6);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.25);
}

.choice-btn:active {
    transform: translateX(3px);
}

.choice-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.choice-btn.disabled:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
    transform: none;
    box-shadow: none;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #505050;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .room-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .room-grid {
        grid-template-columns: 1fr;
    }
}

.room-action-item {
    background: rgba(30, 30, 40, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.room-action-item:hover {
    background: rgba(40, 40, 50, 0.9);
    border-color: rgba(251, 191, 36, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.room-action-image-wrapper {
    position: relative;
    width: 100%;
}

.eavesdrop-available-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    z-index: 11;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.room-action-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.room-action-label {
    font-size: 16px;
    font-weight: 600;
    color: #fbbf24;
    text-align: center;
}

.location-character-icons {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    z-index: 10;
}

.character-location-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(251, 191, 36, 0.5);
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.character-location-icon:hover {
    transform: scale(1.1);
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}


.dialog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 11000;
    align-items: center;
    justify-content: center;
    animation: dialogFadeIn 0.3s ease;
}

.dialog-overlay.active {
    display: flex;
}

@keyframes dialogFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.dialog-content {
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: dialogSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

@keyframes dialogSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dialog-title {
    font-size: 20px;
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.dialog-title i {
    font-size: 22px;
}

.dialog-close {
    background: transparent;
    border: none;
    color: #b0b0b0;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.dialog-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fbbf24;
    transform: rotate(90deg);
}

.dialog-body {
    padding: 24px;
    color: #e5e7eb;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.dialog-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.dialog-btn {
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100px;
}

.dialog-btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000000;
    border: none;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.dialog-btn-primary:hover {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
}

.dialog-btn-primary:active {
    transform: translateY(0);
}

.dialog-btn-secondary {
    background: rgba(75, 85, 99, 0.4);
    color: #e5e7eb;
}

.dialog-btn-secondary:hover {
    background: rgba(75, 85, 99, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.dialog-btn-secondary:active {
    transform: translateY(0);
}


.dialog-content.dialog-success .dialog-title {
    color: #34d399;
}

.dialog-content.dialog-success .dialog-title i {
    color: #34d399;
}

.dialog-content.dialog-warning .dialog-title {
    color: #fbbf24;
}

.dialog-content.dialog-warning .dialog-title i {
    color: #fbbf24;
}

.dialog-content.dialog-error .dialog-title {
    color: #f87171;
}

.dialog-content.dialog-error .dialog-title i {
    color: #f87171;
}

.dialog-content.dialog-info .dialog-title {
    color: #60a5fa;
}

.dialog-content.dialog-info .dialog-title i {
    color: #60a5fa;
}

.dialog-confirm .dialog-footer {
    justify-content: center;
}

.saves-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px 0;
}


.save-slot {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.save-slot:hover {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.1);
    transform: translateY(-2px);
    background: rgba(35, 35, 45, 0.7);
}

.save-slot.empty {
    opacity: 0.7;
    border-style: dashed;
}


.save-slot-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.save-slot-content i {
    font-size: 32px;
    color: #fbbf24;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
    display: none;
}

.save-slot.empty .save-slot-content i {
    color: #808080;
}


.save-slot-info {
    width: 100%;
}

.save-slot-info h3 {
    color: #fbbf24;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.save-slot.empty .save-slot-info h3 {
    color: #808080;
}

.save-slot-info p {
    color: #b0b0b0;
    font-size: 14px;
    margin: 6px 0;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.save-slot-info p strong {
    color: #d0d0d0;
    font-weight: 600;
}

.save-slot-info .save-date {
    color: #808080;
    font-size: 12px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.save-slot-info .save-date i {
    font-size: 11px;
    width: auto;
}


.save-slot-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}


.save-btn {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.save-btn i {
    font-size: 14px;
}


.save-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.save-btn-primary:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.save-btn-primary:active {
    transform: translateY(0);
}


.save-btn-secondary {
    background: rgba(75, 85, 99, 0.5);
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.save-btn-secondary:hover {
    background: rgba(75, 85, 99, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.save-btn-secondary:active {
    transform: translateY(0);
}


.save-btn-danger {
    background: rgba(239, 68, 68, 0.5);
    color: #ffffff;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.save-btn-danger:hover {
    background: rgba(239, 68, 68, 0.7);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.save-btn-danger:active {
    transform: translateY(0);
}

.save-btn-export {
    background: rgba(59, 130, 246, 0.5);
    color: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.save-btn-export:hover {
    background: rgba(59, 130, 246, 0.7);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.save-btn-export:active {
    transform: translateY(0);
}

.saves-import-export {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(30, 30, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.saves-import-export .save-btn {
    flex: 1;
    min-width: 150px;
}

@media (max-width: 768px) {
    .saves-import-export {
        flex-direction: column;
    }

    .saves-import-export .save-btn {
        width: 100%;
    }
}


.settings-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 10px 0;
}

.settings-section {
    background: rgba(30, 30, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.settings-section-title {
    color: #fbbf24;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-section-title i {
    font-size: 20px;
}

.settings-item {
    margin-bottom: 20px;
}

.settings-item:last-child {
    margin-bottom: 0;
}

.settings-label {
    color: #e5e7eb;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 8px;
}

.settings-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #fbbf24;
}

.settings-label input[type="range"] {
    cursor: pointer;
    accent-color: #fbbf24;
}

.settings-description {
    color: #808080;
    font-size: 13px;
    margin: 4px 0 0 30px;
    font-style: italic;
}

.settings-actions {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.settings-btn {
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000000;
    border: none;
}

.settings-btn-primary:hover {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}


@media (max-width: 768px) {
    .save-slot {
        padding: 16px;
    }

    .save-slot-actions {
        flex-direction: column;
    }

    .save-btn {
        width: 100%;
        min-width: 100%;
    }
}

.route-indicator {
    text-align: center;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in;
}

.route-indicator i {
    margin-right: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.title-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/locations/house/living_room.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: blur(0px);
    animation: panBackground 60s linear infinite alternate;
}

@keyframes panBackground {
    0% {
        transform: scale(1.1) translate(0, 0);
    }

    100% {
        transform: scale(1.2) translate(-2%, -2%);
    }
}

.title-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
}

.title-content-container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1400px;
    height: 85vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.title-left-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0 20px;
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.title-logo-container {
    margin-bottom: 40px;
    position: relative;
}

.title-logo-image {
    max-width: 380px;
    border-radius: 12px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.title-logo-image:hover {
    transform: scale(1.02);
}

.title-version-corner {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    letter-spacing: 1px;
    font-family: monospace;
    pointer-events: none;
    z-index: 100;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.title-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 380px;
}

.menu-btn {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: left;
    overflow: hidden;
}

.menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #fbbf24;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.menu-btn:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateX(10px);
    padding-left: 32px;
}

.menu-btn:hover::before {
    transform: scaleY(1);
}

.menu-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-btn:hover .btn-icon {
    background: #fbbf24;
    color: #000;
    transform: rotate(10deg);
}

.menu-btn .btn-text {
    font-size: 1.1rem;
    font-weight: 600;
    flex-grow: 1;
}

.menu-btn .btn-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    transition: color 0.3s ease;
}

.menu-btn:hover .btn-desc {
    color: rgba(255, 255, 255, 0.8);
}

.menu-btn.primary-btn {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-color: rgba(251, 191, 36, 0.3);
}

.menu-btn.primary-btn:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(245, 158, 11, 0.2) 100%);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
}

.menu-btn.secondary-btn {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.menu-btn.secondary-btn:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(22, 163, 74, 0.2) 100%);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}

.menu-btn.secondary-btn::before {
    background: #4ade80;
}

.menu-btn.secondary-btn .btn-desc {
    color: rgba(187, 247, 208, 0.7);
}

.menu-btn.secondary-btn:hover .btn-icon {
    background: #4ade80;
    color: #000;
}

.menu-group {
    display: flex;
    gap: 12px;
}

.menu-group .menu-btn {
    flex: 1;
    padding: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.menu-group .menu-btn:hover {
    transform: translateY(-5px);
    padding-left: 12px;
}

.menu-group .menu-btn::before {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transform: scaleX(0);
}

.menu-group .menu-btn:hover::before {
    transform: scaleX(1);
}

.menu-group .menu-btn .btn-icon {
    margin-right: 0;
    margin-bottom: 8px;
}

.title-socials {
    display: flex;
    gap: 16px;
    margin: 30px auto 0px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #a0a0a0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
}

.social-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.social-link:hover img {
    filter: grayscale(0%);
}

.social-link.patreon:hover {
    background: #f96854;
    border-color: #f96854;
}

.social-link.subscribestar:hover {
    background: #000;
    border-color: #fff;
}

.social-link.f95:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

.social-link.twitter:hover {
    background: #000;
    border-color: #fff;
}

.social-link.discord:hover {
    background: #5865F2;
    border-color: #5865F2;
}

.title-copyright {
    margin-top: auto;
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.title-right-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) both 0.2s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.featured-update-card {
    background: rgba(20, 20, 30, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.featured-update-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.update-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 20px;
    color: #fbbf24;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.update-content h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.update-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.supporters-ticker {
    margin-top: auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 65rem;
}

.ticker-label {
    font-size: 0.85rem;
    color: #fbbf24;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticker-content-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-content {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    animation: tickerScroll 20s linear infinite;
    padding-left: 100%;
}

.supporters-ticker-tiers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticker-tier-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticker-tier-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.supporters-tier-hero .ticker-tier-label { color: #f59e0b; }
.supporters-tier-htmlLover .ticker-tier-label { color: #ef4444; }
.supporters-tier-curiousSon .ticker-tier-label { color: #9ca3af; }

.ticker-tier-row .ticker-content-wrapper {
    flex: 1;
    min-width: 0;
}

.credits-supporters-list {
    margin-top: 12px;
}

.credits-tier-section {
    margin-bottom: 14px;
}

.credits-tier-section h4 {
    font-size: 0.9rem;
    color: #fbbf24;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.credits-tier-hero h4 { color: #f59e0b; }
.credits-tier-htmlLover h4 { color: #ef4444; }
.credits-tier-curiousSon h4 { color: #9ca3af; }

.credits-tier-section p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.credits-supporters-note {
    margin-top: 12px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

@keyframes tickerScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

@media (max-width: 1024px) {
    .title-content-container {
        grid-template-columns: 1fr;
        height: auto;
        padding: 40px 0;
    }

    .title-left-panel,
    .title-right-panel {
        align-items: center;
        text-align: center;
        border-left: none;
        padding: 20px;
    }

    .title-menu {
        max-width: 100%;
        margin: 0 auto;
    }

    .menu-btn {
        text-align: center;
        justify-content: center;
    }

    .menu-btn:hover {
        padding-left: 24px;
        transform: translateY(-5px);
    }

    .menu-btn .btn-text {
        flex-grow: 0;
    }

    .title-right-panel {
        display: none;
    }
}

.credits-modal {
    max-width: 520px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.credits-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.credits-modal-header h2 {
    color: #fbbf24;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.credits-modal-close {
    background: transparent;
    border: none;
    color: #808080;
    font-size: 20px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.credits-modal-close:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.credits-modal-body {
    padding: 16px 20px 20px;
    overflow-y: auto;
}

.credits-section {
    margin-bottom: 18px;
}

.credits-section:last-child {
    margin-bottom: 0;
}

.credits-section h3 {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.credits-section h3 i {
    color: #fbbf24;
}

.credits-section p {
    color: #b0b0b0;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 4px 0;
}

.credits-license {
    font-size: 12px !important;
    color: #909090 !important;
}

.credits-note {
    font-size: 12px !important;
    color: #808080 !important;
}

.credits-link {
    color: #fbbf24;
    text-decoration: none;
    font-size: 12px;
    word-break: break-all;
}

.credits-link:hover {
    text-decoration: underline;
}

.age-modal {
    max-width: 420px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(20, 20, 30, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.age-modal-header {
    text-align: center;
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.age-modal-header i {
    font-size: 32px;
    color: #fbbf24;
    margin-bottom: 8px;
    display: block;
}

.age-modal-header h2 {
    color: #fbbf24;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.age-modal-body {
    padding: 16px 20px;
}

.age-warning {
    color: #fca5a5;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 12px 0;
}

.age-disclaimer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 14px;
}

.age-disclaimer-list li {
    color: #d0d0d0;
    font-size: 12px;
    line-height: 1.5;
    padding: 4px 0 4px 16px;
    position: relative;
}

.age-disclaimer-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #fbbf24;
}

.age-question {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.age-modal-buttons {
    display: flex;
    gap: 10px;
    padding: 12px 20px 16px;
}

.age-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.age-btn-confirm {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.age-btn-confirm:hover {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

.age-btn-deny {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.age-btn-deny:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
}

@media (max-width: 600px) {
    .sidebar-logo {
        max-height: 60px;
    }
}

.map-modal-content {
    max-width: 1000px;
    background: rgba(15, 15, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-intro-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    padding: 0 20px 16px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px;
}

.map-location-card {
    background: rgba(30, 30, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.map-location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.map-location-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 40, 50, 0.6);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.map-char-avatar-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
}

.map-char-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.map-location-card:hover .map-char-avatar {
    border-color: #fbbf24;
    transform: scale(1.05);
}

.location-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #1e1e28;
    background: #52525b;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.location-status-dot.active {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.map-char-info {
    flex: 1;
}

.map-char-name {
    font-size: 18px;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 4px;
}

.map-char-location {
    font-size: 13px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-char-location i {
    color: #fbbf24;
}

.map-char-location.unknown {
    color: #6b7280;
}

.map-char-location.unknown i {
    color: #6b7280;
}

.map-schedule-btn {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #d1d5db;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

.map-schedule-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fbbf24;
}

.map-card-available {
    cursor: pointer;
    border-color: rgba(16, 185, 129, 0.15);
}

.map-card-available:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.map-visit-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 8px;
    color: #10b981;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

.map-visit-btn:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.15));
    border-color: rgba(16, 185, 129, 0.5);
    color: #34d399;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.map-schedule-content {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: none;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.map-schedule-content.active {
    display: block;
}

.schedule-group {
    margin-bottom: 12px;
}

.schedule-group:last-child {
    margin-bottom: 0;
}

.schedule-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 6px;
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.schedule-time {
    color: #fbbf24;
    font-weight: 600;
    white-space: nowrap;
    min-width: 85px;
}

.schedule-loc {
    color: #d1d5db;
    line-height: 1.4;
}